projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
327eeec
)
* floatfns.c (Fexpt): Omit unnecessary cast to unsigned.
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 13 Jun 2011 02:27:16 +0000
(19:27 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 13 Jun 2011 02:27:16 +0000
(19:27 -0700)
src/ChangeLog
patch
|
blob
|
history
src/floatfns.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 0d1dcfc7d1326a3e21557b69c4de3b8965983a94..08b99fd1b79c3dbf45f057145859c504903762ce 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,5
+1,6
@@
2011-06-13 Paul Eggert <eggert@cs.ucla.edu>
+ * floatfns.c (Fexpt):
* fileio.c (make_temp_name): Omit unnecessary cast to unsigned.
* editfns.c (Ftranslate_region_internal): Use int, not EMACS_INT
diff --git
a/src/floatfns.c
b/src/floatfns.c
index 1232fc0afa1df4be7bb1e2efb294ee8b75bba492..b5c8b4af5c3afb43d6387239cfef9c73f18e805b 100644
(file)
--- a/
src/floatfns.c
+++ b/
src/floatfns.c
@@
-507,7
+507,7
@@
DEFUN ("expt", Fexpt, Sexpt, 2, 2, 0,
if (y & 1)
acc *= x;
x *= x;
- y
= (unsigned)y >>
1;
+ y
>>=
1;
}
}
XSETINT (val, acc);